package demo.service;

import java.util.List;

import demo.entity.Email;

public interface EmailService {
	
	public boolean addEmail(Email email);
	
	public boolean updateEmail(Email email);
	
	public boolean deleteEmail(Integer id);
	
	public Email getById(Integer id);
	
	public List<Email>getMyEmailByEmail(Email email,Integer pageNo,Integer pageSize
);
}
